<#include "common/main.html">
<#macro bodyId>statistics-agent</#macro>
<#macro content>


<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main ty-common-page">
    <h1 class="page-header">定时任务
    </h1>
    <div class="tool-bar">
        <div class="filter">
            <form action="" method="get" class="J_filterForm" id="statistics-form">
                <div class="form-group">
                    <div class="col-sm-11">
                        <div class="col4">
                            <span class="label-text">年份：</span>
                            <select class="form-control" name="year">
                            	   <option value="" <#if year==null>selected="true"</#if>>全部</option>
                            	   <option value="2018" <#if year=='2018'>selected="true"</#if>>2018年</option>
                            	   <option value="2019" <#if year=='2019'>selected="true"</#if>>2019年</option>
                            	   <option value="2020" <#if year=='2020'>selected="true"</#if>>2020年</option>
                            	   <option value="2021" <#if year=='2021'>selected="true"</#if>>2021年</option>
                            	   <option value="2022" <#if year=='2022'>selected="true"</#if>>2022年</option>
                            	   <option value="2023" <#if year=='2023'>selected="true"</#if>>2023年</option>
                            </select>
                        </div>
                        <div class="col4">
                            <span class="label-text">月份：</span>
                            <select class="form-control" name="month">
                                   <option value="" <#if month==null>selected="true"</#if>>全部</option>
                                   <option value="1" <#if month=='1'>selected="true"</#if>>1月</option>
                                   <option value="2" <#if month=='2'>selected="true"</#if>>2月</option>
                                   <option value="3" <#if month=='3'>selected="true"</#if>>3月</option>
                                   <option value="4" <#if month=='4'>selected="true"</#if>>4月</option>
                                   <option value="5" <#if month=='5'>selected="true"</#if>>5月</option>
                                   <option value="6" <#if month=='6'>selected="true"</#if>>6月</option>
                                   <option value="7" <#if month=='7'>selected="true"</#if>>7月</option>
                                   <option value="8" <#if month=='8'>selected="true"</#if>>8月</option>
                                   <option value="9" <#if month=='9'>selected="true"</#if>>9月</option>
                                   <option value="10" <#if month=='10'>selected="true"</#if>>10月</option>
                                   <option value="11" <#if month=='11'>selected="true"</#if>>11月</option>
                                   <option value="12" <#if month=='12'>selected="true"</#if>>12月</option>
                            </select>
                        </div>
                        <button type="submit" class="btn btn-success J_search" style="margin-right:30%;" data-action="${rc.contextPath}/job/manager">启动报表统计(渠道经理)</button>
                    </div>
                </div>
            </form>
            
            <form action="" method="get" class="J_filterForm" id="statistics-form1" style="margin-top:50px;">
                <div class="form-group">
                    <div class="col-sm-11">
                        <div class="col4">
                            <span class="label-text">开始时间：</span>
                            <input class="form-control J_startDate" name="startTimeStr" value="${startTimeStr}" />
                        </div>
                        <div class="col4">
                            <span class="label-text">结束时间：</span>
                            <input class="form-control J_endDate" name="endTimeStr" value="${endTimeStr}" />
                        </div>
                        <button type="submit" class="btn btn-success J_search" style="margin-right:30%;" data-action="${rc.contextPath}/job/user">启动报表统计(普通用户)</button>
                    </div>
                </div>
            </form>


            <form action="" method="get" class="J_filterForm" id="statistics-form2" style="margin-top:50px;">
                <div class="form-group">
                    <div class="col-sm-11">
                        <div class="col4">
                            <span class="label-text">开始时间：</span>
                            <input class="form-control J_startDate" name="startTimeStr" value="${startTimeStr}" />
                        </div>
                        <div class="col4">
                            <span class="label-text">结束时间：</span>
                            <input class="form-control J_endDate" name="endTimeStr" value="${endTimeStr}" />
                        </div>
                        <button type="submit" class="btn btn-success J_search" style="margin-right:30%;" data-action="${rc.contextPath}/job/shareTalent">启动分享达人报表统计</button>
                    </div>
                </div>
            </form>

        </div>
    </div>
    
    
</div>

<script>
    var config = {

    }
</script>

</#macro>
